import { request, config } from 'utils'

const { api } = config
const { transactionReceiptList, transactionReceiptDelete, transactionReceiptReport, transactionReceiptReported } = api

export async function querylist (params) {
  return request({
    url: transactionReceiptList,
    method: 'put',
    data: params,
  })
}
export async function remove (params) {
  return request({
    url: transactionReceiptDelete,
    method: 'delete',
    data: params,
  })
}
export async function report (params) {
  return request({
    url: transactionReceiptReport,
    method: 'put',
    data: params,
  })
}
export async function reported (params) {
  return request({
    url: transactionReceiptReported,
    method: 'put',
    data: params,
  })
}
